<?php

/**
 * Factory interface
 * Factories are used by the Service (AutoUpdater) to create specific objects
 */
interface Factory
{
	/**
	 * @param array $data
	 * @return Phlame or false if failure
	 */
	public function create(array $data);
}

class FactoryException extends PhException
{}